﻿using System;
using System.Collections.Generic;
using System.Text;
using WeShare.WeiXin.Pay.EnumKey;

namespace WeShare.WeiXin.Pay
{
    /// <summary>
    ///退款通知， 解密后的通知信息
    /// </summary>
    public class RefundNotify
    {
        public string transaction_id { get; set; }
        public string out_trade_no { get; set; }
        public string refund_id { get; set; }
        public string out_refund_no { get; set; }
        public int total_fee { get; set; }
        /// <summary>
        /// 应结订单金额
        /// </summary>
        public int settlement_total_fee { get; set; }
        /// <summary>
        /// 申请退款金额
        /// </summary>
        public int refund_fee { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public int settlement_refund_fee { get; set; }
        /// <summary>
        /// 退款成功时间
        /// </summary>
        public DateTime success_time { get; set; }
        /// <summary>
        /// 退款状态
        /// </summary>
        public RefundStatus refund_status { get; set; }
        /// <summary>
        /// 退款入账账户
        /// </summary>
        public string refund_recv_accout { get; set; }
        /// <summary>
        /// 退款资金来源
        /// </summary>
        public RefundAccount refund_account { get; set; }
        /// <summary>
        /// 退款发起来源
        /// </summary>
        public RefundRequestSource refund_request_source { get; set; }
    }
}
